package com.gaoqi.gulimall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.gaoqi.gulimall.member.dao")
@SpringBootApplication
@EnableDiscoveryClient  //开启服务发现
@EnableFeignClients     //启用feign 功能
public class GulimallMemberApp {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApp.class,args);
    }
}
